﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebAppGoogleMap._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>My Google Map</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="Styles/MyStyle.css" rel="stylesheet" type="text/css" />
	
	<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
	<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&language=vi"></script>
	<script type="text/javascript" src="Scripts/MyGoogleMap.js"></script>
	<script type="text/javascript" src="Scripts/gears_init.js"></script>

    <style type="text/css">
        #DiaDiem
        {
            width: 200px;
        }
    #diadiempanel0
    {
        width: 335px;
        height: 467px;
    }
    #MyLocation
    {
        width: 109px;
    }
    .map
    {
        height: 248px;
    }
    .diadiempanel
    {
        height: 266px;
    }
    </style>

<script language="javascript" type="text/javascript">
// <![CDATA[

function MyLocation_onclick() {

}

// ]]>
</script>
</head>
<body onload="initialize()">


    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods = "true">
</asp:ScriptManager>

    <asp:HiddenField ID="HiddenField1" runat="server" />

    <div id="login">
        <div id="username">
            
            <asp:Label ID="Label1" runat="server" Text="Username: "></asp:Label>

            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <asp:Label ID="Label2" runat="server" Text="      Password: "></asp:Label>
            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            <asp:Label ID="Label3" runat="server"></asp:Label>
            <asp:Button ID="Button1" runat="server" Text="Login" Width="92px" 
                onclick="Button1_Click1" />
            
            <asp:Button ID="Button2" runat="server" Height="22px" Text="Register" 
                Width="126px" style="margin-left: 15px; margin-top: 0px" />
        </div>
    </div> 
    <h1 style="color: #0000FF; background-color: #FFFF00">
        Google Map
	</h1>
      
        
    <div id="search">
	    <p>
          <input id="DiaDiem" class="textbox" type="text" runat="server"/>
          <input name="button" type="button" class="button" id="TimDiaDiem" onclick="btnDiaDiem_Click()" value="Tìm địa điểm" />
          <input id="luuvitri" class="button" onclick="btnLuuViTri_Click()" type="button" value="lưu vị trí này" />&nbsp;&nbsp;
          <input id="Button3" class="button" onclick="btnTest_Click()" type="button" value="test java > c#" />&nbsp;&nbsp;&nbsp;
	    </p>
    </div>
	<div>
        <div id="diadiempanel"></div>
        <div id="map"></div>
        </div>
	</form>
	
</body>
</html>

